
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>异常处理 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="support.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" >
            
                <span>
            
                    
                    入门
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" data-path="../">
            
                <a href="../">
            
                    
                    0.开始
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.2" data-path="1-install.html">
            
                <a href="1-install.html">
            
                    
                    1.安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3" data-path="2-init.html">
            
                <a href="2-init.html">
            
                    
                    2.创建一本书
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.4" data-path="3-directory.html">
            
                <a href="3-directory.html">
            
                    
                    3.目录结构
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    基础
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="4-menu.html">
            
                <a href="4-menu.html">
            
                    
                    4.菜单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="5-set.html">
            
                <a href="5-set.html">
            
                    
                    5.设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="6-words.html">
            
                <a href="6-words.html">
            
                    
                    6.词汇表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="7-langs.html">
            
                <a href="7-langs.html">
            
                    
                    7.多语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="8-markdown.html">
            
                <a href="8-markdown.html">
            
                    
                    8.markdown
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="9-asciidoc.html">
            
                <a href="9-asciidoc.html">
            
                    
                    9.AsciiDoc
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="10-E-book.html">
            
                <a href="10-E-book.html">
            
                    
                    10.生成电子书
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    异常处理
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.3.1" data-path="error.html">
            
                <a href="error.html">
            
                    
                    异常处理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="support.html">
            
                <a href="support.html">
            
                    
                    赞助/支持
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >异常处理</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5F02;&#x5E38;&#x5904;&#x7406;">&#x5F02;&#x5E38;&#x5904;&#x7406;</h1>
<h2 id="npm-&#x5728;-windows-10-&#x62A5;&#x9519;">npm &#x5728; windows 10 &#x62A5;&#x9519;</h2>
<blockquote>
<p>&#x65E0;&#x6CD5;&#x52A0;&#x8F7D;&#x6587;&#x4EF6;....&#x56E0;&#x4E3A;&#x5728;&#x6B64;&#x7CFB;&#x7EDF;&#x4E0A;&#x7981;&#x6B62;&#x8FD0;&#x884C;&#x811A;&#x672C;&#x3002;  </p>
</blockquote>
<p><strong>&#x89E3;&#x51B3;&#x65B9;&#x6848;</strong>  </p>
<blockquote>
<ol>
<li>&#x4EE5;&#x7BA1;&#x7406;&#x5458;&#x8EAB;&#x4EFD;&#x8FD0;&#x884C; power shell  </li>
<li>&#x8F93;&#x5165; set-ExecutionPolicy RemoteSigned  </li>
<li>&#x8F93;&#x5165; A &#x56DE;&#x8F66;  </li>
</ol>
</blockquote>
<hr>
<h2 id="win7-&#x751F;&#x6210;&#x7535;&#x5B50;&#x4E66;&#x62A5;&#x9519;">win7 &#x751F;&#x6210;&#x7535;&#x5B50;&#x4E66;&#x62A5;&#x9519;</h2>
<blockquote>
<p>windows &#x7CFB;&#x7EDF;&#x5B89;&#x88C5;&#x5B8C; calibre &#x63D2;&#x4EF6;&#x540E; gitbook &#x751F;&#x6210; PDF&#x3001;ePub &#x62A5;&#x9519; Error during ebook generation: &apos;ebook=convert&apos; &#x4E71;&#x7801;  </p>
</blockquote>
<ul>
<li><strong>&#x95EE;&#x9898;&#x5206;&#x6790;</strong>  </li>
</ul>
<p>&#x95EE;&#x9898;&#x5728;&#x4E8E;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#x914D;&#x7F6E;&#x6709;&#x95EE;&#x9898;  </p>
<ul>
<li><strong> &#x89E3;&#x51B3;&#x65B9;&#x6CD5;</strong>  </li>
</ul>
<p>&#x91CD;&#x65B0;&#x914D;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;&#xFF0C;&#x914D;&#x7F6E;&#x7EC6;&#x8282;&#x5982;&#x4E0B;&#xFF1A;  </p>
<ol>
<li>&#x6839;&#x636E;&#x7CFB;&#x7EDF;&#x778E;&#x5B50;&#x554A; calibre &#x5E76;&#x5B89;&#x88C5;</li>
<li>&#x53F3;&#x51FB;&#x56FE;&#x6807; --&#x300B; &#x6253;&#x5F00;&#x6587;&#x4EF6;&#x6240;&#x5728;&#x4F4D;&#x7F6E; --&#x300B; &#x590D;&#x5236;&#x5B89;&#x88C5;&#x8DEF;&#x5F84;  </li>
<li>&#x6253;&#x5F00;&#x6211;&#x7684;&#x7535;&#x8111; --&#x300B; &#x5C5E;&#x6027; --&#x300B; &#x9AD8;&#x7EA7;&#x7CFB;&#x7EDF;&#x8BBE;&#x7F6E; --&#x300B; &#x73AF;&#x5883;&#x53D8;&#x91CF; --&#x300B; &#x914D;&#x7F6E;&#x73AF;&#x5883;&#x53D8;&#x91CF;  </li>
<li>&#x6700;&#x4E0B;&#x65B9;&#x3010;&#x73AF;&#x5883;&#x53D8;&#x91CF;(N)...&#x3011; --&#x300B; &#x7F16;&#x8F91;&#x3010;path&#x3011; --&#x300B; &#x6700;&#x540E;&#x9762;&#x52A0;&#x5206;&#x53F7; <code>;</code> &#x5E76;&#x5728;&#x5206;&#x53F7;&#x540E;&#x9762;&#x7C98;&#x8D34; calibre &#x7684;&#x5B89;&#x88C5;&#x8DEF;&#x5F84;  </li>
<li>&#x4FDD;&#x5B58;&#x3001;&#x786E;&#x5B9A; --&#x300B; &#x91CD;&#x542F; terminal </li>
<li><code>gitbook pdf ./ ./filename.pdf</code> &#x641E;&#x5B9A;  </li>
</ol>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="support.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 赞助/支持">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"异常处理","level":"1.3.1","depth":2,"next":{"title":"赞助/支持","level":"1.3.2","depth":2,"path":"docs/support.md","ref":"./docs/support.md","articles":[]},"previous":{"title":"异常处理","level":"1.3","depth":1,"ref":"","articles":[{"title":"异常处理","level":"1.3.1","depth":2,"path":"docs/error.md","ref":"./docs/error.md","articles":[]},{"title":"赞助/支持","level":"1.3.2","depth":2,"path":"docs/support.md","ref":"./docs/support.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"docs/error.md","mtime":"2020-07-13T08:20:45.819Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-07-13T08:21:17.520Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

